package at.ac.tuwien.mg.wh.dto;

import at.ac.tuwien.mg.wh.exception.WarehouseException;

public class DescribedItemDTO extends ItemDTO{

	private static final long serialVersionUID = 2254501721588436703L;
	
	protected String name;
	protected String description;
	protected String category;
	
	public DescribedItemDTO(Long catalogId, Integer number, String name,
			String description, String category) throws WarehouseException {
		super(catalogId, number);
		this.name = name;
		this.description = description;
		this.category = category;
	}
		

	public DescribedItemDTO() {

	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	@Override
	public String toString() {
		return "DescribedItemDTO [name=" + name + ", description="
				+ description + ", category=" + category + ", catalogId="
				+ catalogId + ", number=" + number + "]";
	}


	

	

	
}
